home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Camelot
/
Camelot 105 (1991-02)(Swedish User Group of Amiga)(SE)(PD)[WB].zip
/
Camelot 105 (1991-02)(Swedish User Group of Amiga)(SE)(PD)[WB].adf
/
AmigaUUCP
/
uucico
/
sysdep.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-02-02
|
2KB
|
67 lines
/*
* SYSDEP.H
*
* $Header: Beta:src/uucp/src/uucico/RCS/sysdep.h,v 1.1 90/02/02 11:55:55 dillon Exp Locker: dillon $
*
* Amiga Port by William Loftus
* Changes are Copyright 1988 by William Loftus. All rights reserved.
*
* Declarations of gnuucp's system-dependent routines, which
* are in the file sysdep.c (a link to one of many system dependent
* implementations).
*/
void munge_filename();
/*
* Basement level I/O routines
*
* xwrite() writes a character string to the serial port
* xgetc() returns a character from the serial port, or an EOF for timeout.
* sigint() restores the state of the serial port on exit.
* openline() opens a serial port for an incoming call, waiting for carrier.
* openout() opens a serial port for an outgoing call.
*/
int xwrite(); /* filedesc, buffer, count */
int xgetc(); /* No arg */
int sigint(); /* No arg */
void openline(); /* ttyname */
int openout(); /* ttyname */
void amiga_setup(); /* No arg */
/*
* Uucp work queue scan.
*
* gotsome = work_scan(hostname);
*
* Result is 1 if there is work, 0 if none. If result is 1, and work_scan
* is called a second time without an intervening work_done, it won't
* rescan the directory but simply returns a 1.
*
* workfile = work_next();
*
* Result is char * to static filename; or NULL if no more.
* We only read the directory once. If callers want more to rescan it
* in case more work is here, they should call work_scan again.
*
* void work_done();
* Clean up a work scan. No need to call this if work_next returned NULL;
* it has cleaned up.
*/
extern int work_scan();
extern char *work_next();
extern void work_done();
/* SERIAL PORT DELARATIONS ALSO TIMER */
extern struct MsgPort *CreatePort();
extern struct IOExtSer *Read_Request;
extern unsigned char rs_in[2];
extern struct IOExtSer *Write_Request;
extern unsigned char rs_out[2];
extern struct timerequest Timer;
extern struct MsgPort *Timer_Port;